package org.qing.cloud.business.system.api.dto;

import java.io.Serializable;

import org.qing.cloud.business.system.api.entity.SysUser;

import lombok.Data;

/**
 * commit('SET_ROLES', data) commit('SET_NAME', data) commit('SET_AVATAR', data)
 * commit('SET_INTRODUCTION', data) commit('SET_PERMISSIONS', data)
 */
@Data
public class UserInfo implements Serializable {

	private static final long serialVersionUID = 6180399484059061636L;

	/**
	 * 用户基本信息
	 */
	private SysUser sysUser;

	/**
	 * 权限标识集合
	 */
	private String[] permissions;

	/**
	 * 角色集合
	 */
	private Long[] roles;

}
